package com.canbot.u05.bean.training;


import java.util.Collection;

/**
 * Created by xh on 2017/12/18.
 */

public class Task {

    // 任务名
    private String name;

    private Collection<Step> mSteps;

    public Task() {
    }



    public Task(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Collection<Step> getSteps() {
        return mSteps;
    }

    public void setSteps(Collection<Step> steps) {
        mSteps = steps;
    }

    public Task(String name, Collection<Step> mSteps) {
        this.name = name;
        this.mSteps = mSteps;
    }

    @Override
    public String toString() {
        return "Task{" +
                "name='" + name + '\'' +
                ", mSteps=" + mSteps +
                '}';
    }

}
